#pragma once

#include <iostream>
#include <cstring>
#include <unordered_map>
#include <string>

#include "Log.hpp"

static const std::string D_filename="dict.txt";
static const std::string D_path="./";
static const int D_fd=-1;
class Dict
{
private:
    void LoadDcit()
    {
        const std::string file=_path+_filename;
        _fd=open(file.c_str(),"r");
        
    }


public:
    Dict(std::string path=D_path,std::string filename=D_filename)
    :_fd(D_fd),_path(path),_filename(filename)
    {
        LoadDict();
        Print();
    }

private:
    int _fd;
    std::string _filename;
    std::string _path;
};